package com.jly.edu.common.dto;

import com.jly.edu.common.validated.SaveGroup;
import com.jly.edu.common.validated.UpdateGroup;
import com.jly.edu.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者：纪联友
 * @since 2021-10-26
 */
@Data
public class SysDictTypeDto implements Serializable {

    @NotNull(message = "id不能为空!",groups = {UpdateGroup.class})
    private Long id;
    @NotBlank(message = "类型不能为空!",groups = {SaveGroup.class, UpdateGroup.class})
    private String code;
    @NotNull(message = "字典类型不能为空!",groups = {SaveGroup.class, UpdateGroup.class})
    private Integer type;

    private Integer status;
    @NotBlank(message = "描述不能为空!",groups = {SaveGroup.class, UpdateGroup.class})
    private String descRibe;

    private String remark;




}
